package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class ColumnConstraintDefinition {

    private int beginIndex;
    private int endIndex;
    private ConstraintNameDefinition constraintNameDefinition;
    private ColumnConstraint columnConstraint;
    private ConstraintCharacteristics constraintCharacteristics;

    public ColumnConstraintDefinition(int beginIndex,
                                      int endIndex,
                                      ConstraintNameDefinition constraintNameDefinition,
                                      ColumnConstraint columnConstraint,
                                      ConstraintCharacteristics constraintCharacteristics) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.constraintNameDefinition = constraintNameDefinition;
        this.columnConstraint = columnConstraint;
        this.constraintCharacteristics = constraintCharacteristics;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public ConstraintNameDefinition getConstraintNameDefinition() {
        return constraintNameDefinition;
    }

    public ColumnConstraint getColumnConstraint() {
        return columnConstraint;
    }

    public ConstraintCharacteristics getConstraintCharacteristics() {
        return constraintCharacteristics;
    }

}
